package pojo;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;

public class Bill {

  private Integer billId;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Timestamp billTime;
  private Double billMoney;
  private Integer billType;
  private String billAction;
  private Double billRest;

  private Integer page;
  private Integer limit;

  public Integer getPage() {
    return page;
  }

  public void setPage(Integer page) {
    this.page = page;
  }

  public Integer getLimit() {
    return limit;
  }

  public void setLimit(Integer limit) {
    this.limit = limit;
  }

  public Integer getBillId() {
    return billId;
  }

  public void setBillId(Integer billId) {
    this.billId = billId;
  }


  public java.sql.Timestamp getBillTime() {
    return billTime;
  }

  public void setBillTime(java.sql.Timestamp billTime) {
    this.billTime = billTime;
  }


  public Double getBillMoney() {
    return billMoney;
  }

  public void setBillMoney(Double billMoney) {
    this.billMoney = billMoney;
  }


  public Integer getBillType() {
    return billType;
  }

  public void setBillType(Integer billType) {
    this.billType = billType;
  }


  public String getBillAction() {
    return billAction;
  }

  public void setBillAction(String billAction) {
    this.billAction = billAction;
  }


  public Double getBillRest() {
    return billRest;
  }

  public void setBillRest(Double billRest) {
    this.billRest = billRest;
  }

  @Override
  public String toString() {
    return "Bill{" +
            "billId=" + billId +
            ", billTime=" + billTime +
            ", billMoney=" + billMoney +
            ", billType=" + billType +
            ", billAction='" + billAction + '\'' +
            ", billRest=" + billRest +
            ", page=" + page +
            ", limit=" + limit +
            '}';
  }
}
